package org.example.hw.service;

import java.util.List;

import org.example.hw.dto.user.LoginUserDto;
import org.example.hw.model.User;

public interface UserService {

	public User save(User user);

	public User update(User user);

	public void delete(Long id);

	public void delete(String username);

	public List<User> findAll();

	public User findById(Long id);

	public User findByUsername(String username);

	public void search();

	public User login(LoginUserDto user);

	public User register(User user);

}
